package com.cxs.observer.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: cxs
 */
@Service
public class ObServerSpringTest {

    @Autowired
    private WeatherSpring weatherSpring;


    public void tempChange(Double temp) {
        weatherSpring.setTemp(temp);
    }
}
